<template>
  <div id="teCheckButton"></div>
</template>

<script>
  export default {
    name: 'teCheckButton',
    inject: ['teCheckGroup'],
    props: {
      id: {
        type: Number,
        required: true,
        default: -1
      }
    },
    methods: {
      click() {}
    },
    mounted() {
      if (this.id === -1) {
        throw 'id未初始化';
      }
    }
  };
</script>

<style scoped>
  .icon:hover {
    cursor: pointer;
  }
  .icon:hover path {
    fill: red;
  }
</style>
